package com.gnerv.author.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gnerv.author.entity.Content;
import com.gnerv.author.mapper.ContentMapper;
import com.gnerv.author.service.IContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 博客平台-文章内容表 服务实现类
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-07-15
 */
@Service
public class ContentServiceImpl extends ServiceImpl<ContentMapper, Content> implements IContentService {

@Autowired
ContentMapper contentMapper;

@Override
public boolean createContent(Content content) {
return true;
}

@Override
public boolean deleteContent(String bId) {
return true;
}

@Override
public boolean updateContent(Content content) {
return true;
}

@Override
public Content selectContent(String bId) {
return null;
}

@Override
public List<Content> listContent(Content content) {
return null;
}
}
